import pygame
import os
from pygame.locals import *
from defs import *

class Scoreboard(pygame.sprite.Sprite):
   
   colour = (123,123,123)#BLUE
   
   base_image = pygame.Surface((SCREENRECT.width, FONT_SIZE - 10))
   base_image.fill(TRANSPARENT)
   base_image.set_colorkey(TRANSPARENT)
   pointlist = [(0,0), (0,FONT_SIZE - 10), (SCREENRECT.width, FONT_SIZE - 10), (SCREENRECT.width,0)]
   pygame.draw.polygon(base_image, colour, pointlist)
   
   def __init__(self):
      pygame.sprite.Sprite.__init__(self)
      self.image = self.base_image.copy()
      self.rect = self.image.get_rect()
